package com.lgx.common.web;

import java.util.ArrayList;
import java.util.List;

import com.lgx.common.entity.Dictionary;
import com.lgx.mall.core.entity.Category;
import com.lgx.right.entity.Permission;

/**
 * 
 * @author acer
 *
 */
public class Constants {
	
	//session失效标记
	public static boolean SESSION_TIMEOUT_FLAG = false;
	
	//session失效时的URL
	public static String SESSION_TIMEOUT_URL = "";

	//用户在session中的标记
	public static final String LOGIN_USER = "s_user";
	
	//用户扩展在session中的标记
	public static final String LOGIN_USEREXPAND = "s_userExpand";
	
	//用户在线数
	public static final String ONLINE_USER = "online_user";
	
	public static final String VALIDATE_CODE = "validate_code";
	
	//操作权限
	public static List<Permission> operates = new ArrayList<Permission>();
	
	public static final String PAGE_SIZE = "20";
	
	public static final String FIRST_PAGE_NUM = "0";
	
	/**
	 * 导航栏
	 */
	public static List<Dictionary> dicts = new ArrayList<Dictionary>();
	
	/**
	 * 导航分类
	 */
	public static List<Category> categorys = new ArrayList<Category>();
}
